/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package org.amuthu.indicator;

import org.amuthu.DataStore;

/**
 *
 * @author prabhu
 */
public class MACDHist extends MACD
{
   /**
    *
    * @param dataStore
    * @param fastPeriod
    * @param slowPeriod
    * @param signalPeriod
    * @param startOffset
    */
   public MACDHist(DataStore dataStore, int fastPeriod, int slowPeriod, int signalPeriod, int startOffset)
   {
      super(dataStore, fastPeriod, slowPeriod, signalPeriod, startOffset);
   }

   /**
    *
    * @return
    */
   @Override
   public double calculate()
   {
      super.calculate();

      return getTrigger();
   }

}
